package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.ExhibitionManageNoticeDTO;
import com.eastfair.home.dto.ExhibitionManageNoticePageQuery;
import com.eastfair.home.entity.ExhibitionManageNotice;
import com.eastfair.home.vo.ExhibitionManageNoticeVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 展会须知
 * </p>
 *
 * @author linan
 * @date 2022-10-22
 */
public interface ExhibitionManageNoticeService extends SuperService<ExhibitionManageNotice> {
    /**
     * do转vo
     *
     * @param model
     */
    ExhibitionManageNoticeVO doToVo(ExhibitionManageNotice model);

    /**
     * do转vo
     *
     * @param modelList
     */
    List<ExhibitionManageNoticeVO> doToVos(List<ExhibitionManageNotice> modelList);


    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ExhibitionManageNotice> list(ExhibitionManageNoticeDTO modelDTO, List<Long> ids);

    /**
     * 通用查询
     *
     * @param modelDTO DTO
     * @param ids      主键id集合
     * @return list
     */
    List<ExhibitionManageNotice> listOfCache(ExhibitionManageNoticeDTO modelDTO, List<Long> ids);

    /**
     * 编辑展会须知
     * @param params
     * @return
     */
    Boolean updateExhibitionNotice(ExhibitionManageNoticeDTO params);

    /**
     * 查询展会须知
     * @param params
     * @return
     */
    ExhibitionManageNoticeVO queryExhibitionNotice(ExhibitionManageNoticePageQuery params);
}
